package com.freesky.common.dao.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tb_express")
public class Express extends Model<Express> {
    public Express() {}
    public Express(Integer id) {
        this.id = id;
    }

    @TableId
    private Integer id;

    private String expressName;

    private Integer sortOrder;

    private Date created;

    private Date updated;
    @Override
    protected Serializable pkVal() {
        return id;
    }
}